package com.xy.service;

import java.util.List;

import com.xy.dao.impl.PageResults;
import com.xy.model.Supplier;

public interface SupplierService {
  boolean add(Supplier supplier);
  boolean update(Supplier supplier);
  boolean delete(Supplier supplier);
  Supplier get(int id);
  PageResults listByPage(int page);
  <T> List<Supplier> list(Class<T> name);
  PageResults query(Object...objects);
}
